<#import "add_base.ftl" as add/>
<@add.html>
<#include "add_pt.ftl">

        <tr>
          <th>原销售员1</th>
          <td colspan="3"><input type="text" name="oldSalesCode" value="" class="w2 disable" readonly></td>
        </tr>
        <tr>
          <th>新销售员1</th>
          <td><input type="text" name="salesCode" id="ip_salesCode" value="" onchange="getSales(this.value);" maxlength="20" size="12"></td>
          <td colspan="2" id="sp_salesName"></td>
        </tr>

<script type="text/javascript">
  function fillData(mc) {
    var fm = getEl("fm_input");
    fm.oldSalesCode.value = mc.salesCode+" - "+mc.salesName;
  }
  function clearData() {
    var fm = getEl("fm_input");
    fm.oldSalesCode.value = "";
  }
</script>
</@add.html>